package mapper.subject;

import java.util.List;

import com.common.BaseMapper;

import beans.subject.subinfo;

public interface subinfoMapper<T> extends BaseMapper<T>{

	void updateChapterSpecial(String chapterid, String specialid);

	List<subinfo> getByIds(String[] ids);

	void deletes(String[] ids, String temSql);

	List<subinfo> getByDriverAndSpecial(String drivertype, String subtype);
	
	List<T> getSubjectInfo();
	
	List<T> getSubjectInfo2(String id);

	List<T> getZhangjieSubject(String id);

	List<T> getZhuanXiang(String id);

	List<T> getErrorSubinfo(String exam, String examtype, String uid);

	void adds(List<T> mapList);

	void updateSecial(List<String> ids,String specialid);
}